package com.qf.java2201.edu.userservice;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity;

/**
 * @date 2022/5/28
 * @desc  用户服务
 */
@SpringBootApplication
@MapperScan("com.qf.java2201.edu.userservice.mapper")
@ComponentScan(basePackages = {"com.qf.java2201.common","com.qf.java2201.edu.userservice"})
@EnableGlobalMethodSecurity(securedEnabled = true)
public class UserServiceApp {

    public static void main(String[] args) {
        SpringApplication.run(UserServiceApp.class,args);
    }


}
